<div class="tab-pane show" id="attr">
    @component('store::component.form.form-group')
        @slot('title') 库存 @endslot
        @slot('is_must') true @endslot
        @component('store::component.form.input')
            @slot('name') stock @endslot
            @slot('value') {{$goods->stock ?? ''}} @endslot
        @endcomponent
    @endcomponent
    @component('store::component.form.form-group')
        @slot('title') 库存预警值 @endslot
        @slot('is_must') true @endslot
        @component('store::component.form.input')
            @slot('name') stock_warning @endslot
            @slot('value') {{$goods->stock_warning ?? ''}} @endslot
        @endcomponent
    @endcomponent

    @component('store::component.form.form-group')
        @slot('title') 商品相册  @endslot
            @php
                if(isset($goods->goods_images)){
                    $imgList = format_show_images(str2arr($goods->goods_images));
                }else{
                    $imgList = [];
                }
            @endphp
        @component('store::component.upload.upload_img',['imgList'=>$imgList])
            @slot('name') goods_images @endslot
            @slot('group') article @endslot
            @slot('img_num') 6 @endslot
            @slot('value') {{$goods->goods_images ?? ''}} @endslot
        @endcomponent
    @endcomponent

        @component('store::component.form.form-group')
            @slot('title') 电脑端详情  @endslot
            @component('store::component.ckedit')
                @slot('name') pc_detail @endslot
                @slot('loading_js') true @endslot
                @slot('value') {{$goods->pc_detail ?? ''}} @endslot
            @endcomponent
        @endcomponent
        @component('store::component.form.form-group')
            @slot('title') 移动端详情  @endslot
            @component('store::component.ckedit')
                @slot('name') wp_detail @endslot
                @slot('value') {{$goods->wp_detail ?? ''}} @endslot
            @endcomponent
        @endcomponent
    @component('store::component.form.form-group')
            @slot('class') text-left m-b-0 @endslot
            @component('store::component.form.button')
                @slot('elem')a @endslot
                @slot('title')上一步 @endslot
                @slot('size') md @endslot
                @slot('color') info @endslot
                @slot('href') #price @endslot
                @slot('attr') onclick=stepBtn(this) @endslot
            @endcomponent
            @component('store::component.form.button')
                @slot('title')确定@endslot
                @slot('size') md @endslot
                @slot('color') danger @endslot
                @slot('params') {"formId":"#goods"} @endslot
                @slot('class')ajax-form @endslot
            @endcomponent
            @component('store::component.form.button')
                @slot('title') 重置 @endslot
                @slot('size') md @endslot
                @slot('color') primary @endslot
            @endcomponent
        @endcomponent
</div>
